﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CinemaMaestro.DataLayer.Contracts.Entities
{
    public class Cinema : IEntity
    {
        public Cinema()
        {
            this.Rooms = new HashSet<Room>();
        }

        public int Id { get; set; }
        public string Name { get; set; }
        public string Address { get; set; }
        public string TelephoneNr { get; set; }

        public virtual ICollection<Room> Rooms { get; set; }
    }
}
